setConstrainMode

abstract fun setConstrainMode(@NonNull() mode: ConstrainMode)

Sets the map `constrain mode`.